package com.zhiyou100.service.Impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhiyou100.dao.CourseDao;
import com.zhiyou100.model.Course;
import com.zhiyou100.model.Selector;
import com.zhiyou100.model.SubjectVo;
import com.zhiyou100.service.CourseService;

@Service
public class CourseServiceImpl implements CourseService{

	@Autowired
	private CourseDao dao;

	public List<Course> listBySid(Long subjectId) {
		
		
		return dao.listBySid(subjectId);
	}

	public Course getCourse(Long courseId) {
		
		return dao.getCourse(courseId);
	}
	
	

}
